package com.genius.reservation.user.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户表
 * </p>
 *
 * @author baomidou
 * @since 2022-05-28
 */
@TableName("user_information_r")
@ApiModel(value = "UserInformation对象", description = "用户表")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Accessors(chain = true)
public class UserInformation implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String name;

    @TableField(value = "user_number")
    private String userNumber;
    @TableField(value = "user_name")
    private String userName;
    @TableField(value = "password")
    private String password;
    private String token;
    @TableField(value = "create_time",fill = FieldFill.INSERT)
    private String createTime;
    @TableField(value = "update_time",fill = FieldFill.INSERT_UPDATE)
    private String updateTime;
    @TableField(value = "user_role_type")

    private Integer userRoleType;

    @TableField(value = "wx_number")
    private String wxNumber;

    @TableField(value = "nick_name")
    private String nickName;
    @TableField(value = "avatar_url")
    private String avatarUrl;

    @TableField(value = "phone")
    private String phone;


    @TableField(value = "supplier_number")
    private String supplierNumber;
    @TableField(value = "status")
    private String status;
}
